<?php 
	header('Content-Type: text/html; charset=utf-8');
	
	//ECHO "下载列表生成模式<br>";
	$target_file_name = ' -i total.lst';
	$agent_str = ' --header="User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Maxthon 2.0)"';
	$referer_str = ' --header="Referer: http://mh.xindm.cn/"';
	$cookie_str = ' --header="Cookie: ASPSESSIONIDCAQDDTTR=NFNOANNBKPAPKFGPBMLHPOGA; virtualwall=vsid=095425449d1c8b7e952561583119a7ae;"';
	$ext_attr = " -cx -nH --cut-dirs=2";
	//$target_str = '"http://mh.xindm.cn/book/j/JO/Act_001/xindm_cn_001002.jpg"';
	
	
	$wget_str = 'wget' . $target_file_name . $agent_str . $referer_str . $cookie_str . $ext_attr;
	
	echo $wget_str;
	

?>